<template>
	<view>
		<u-navbar :title="title" :autoBack="true" bgColor="#fff" :fixed="false"></u-navbar>
		<view class="">
			<u-parse :content="content"></u-parse>
		</view>
	</view>
</template>

<script>
	import commonMixin from '@/mixins/common.js';
	export default {
		mixins: [commonMixin],
		data() {
			return {
				title: "",
				content:""
			}
		},
		methods: {

		},
		onLoad(e) {
			if (e.type == 1) {
				this.title = '关于我们'
				this.content = this.configData.about;
			} else {
				this.title = '协议'
				this.content = this.configData.xieyi;
			}
			console.log('title')
		}
	}
</script>

<style>
page {
	background-color: #fff;
	/* padding: 30rpx; */
}
</style>